<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>resCategory.jsp</title>
    <link href="${pageContext.request.contextPath }/css/waimaistyle.css"
	type=text/css rel=stylesheet />
  </head>
  
  <body>
    <p align="center">食品种类管理</p>
     <table  align="center" border="1" cellspacing="0" cellpadding="20"
		class="table">
		<tr>
			<td>种类编号</td>
			<td>种类名称</td>
		</tr>
		<c:forEach items="${categories }" var="c">
			<tr>
				<td>${c.categoryId }</td>
				<td>${c.categoryName }</td>			
			</tr>
		</c:forEach>
	</table>
  </body>
</html>
